ExamPlay Light Logo
Inicieu la sessió

Computer Science for IGCSE & O level - Programming (Section 10 - No. 31)

What is the purpose of the Step value in a FOR loop, such as `For number = 10 to 50 Step 5`?
To specify the starting point of the loop.
To specify the end point of the loop.
To determine the increment or decrement for each iteration.
To define the total number of iterations.

Explicació

The Step value determines how the loop variable changes (increments or decrements) in each cycle.

Comentaris (0)

Inicieu sessió per comentar
Anunci
BrainBehindX Inc Logo
©2026; Desenvolupat per BrainBehindX Inc